<admintpl file="header" />
</head>
<body>
<div class="wrap">
	<ul class="nav nav-tabs">
		<li><a href="{:U('Plan/index')}">生产计划</a></li>
		<li class="active"><a href="{:U('Plan/add')}">新增计划</a></li>
	</ul>
		<form action="{:U('Plan/add_post')}" method="post" class="form-horizontal js-ajax-forms" enctype="multipart/form-data">
			<div class="row-fluid">
				<div class="span9">
					<table class="table table-bordered">

						<tr>
							<th>计划编号</th>
							<td>
								<input type="text"  name="post[post_title]" id="title" required value="" placeholder="请输入计划编号"/>
								<span class="form-required">*</span>
							</td>
						</tr>
						<tr>
							<th>计划名称</th>
							<td><input type="text" name="post[post_keywords]" id="keywords" value=""  placeholder="请输入计划名称"> </td>
						</tr>
						<tr>
							<th>物料包</th>
							<td>
								<select name="" id="">
									<option value="">请选择</option>
									<option value="">西安项目</option>
									<option value="">香港项目</option>
								</select><a href="#">查看物料包</a>
							</td>
						</tr>

						<tr>
							<th>车辆参数</th>
							<td>
								<select name="" id="">
									<option value="">请选择</option>
									<option value="">凯迪拉克项目规格</option>
									<option value="">马自达项目规格</option>
								</select>
							</td>
						</tr>
						<tr>
							<th>计量单位</th>
							<td>
								<select name="" id="">
									<option value="">请选择</option>
									<option value="">辆</option>
									<option value="">斤</option>
								</select>
							</td>
						</tr>
						<tr>
							<th>计划数量</th>
							<td><input type="text" name="post[post_keywords]" id="keywords" value=""  placeholder="请输入计划数量"> </td>
						</tr>
						<tr>
							<th>计划开始时间</th>
							<td><input type="text" name="post[post_date]" value="{:date('Y-m-d',time())}" class="js-date" style="width: 160px;"></td>
						</tr>
						<tr>
							<th>计划完工时间</th>
							<td><input type="text" name="post[post_date]" value="{:date('Y-m-d',time())}" class="js-date" style="width: 160px;"></td>
						</tr>
						<tr>
							<th>计划内容</th>
							<td>
								<textarea name="post[post_excerpt]" id="description"  placeholder="请填写计划内容"></textarea>
							</td>
						</tr>
						<tr>
							<th>车辆清单</th>
							<td>
								<select name="" id="">
									<option value="">请选择</option>
									<option value=""> 	玛莎拉蒂项目模板</option>
									<option value="">凯迪拉克项目模板</option>
								</select>
							</td>
						</tr>
						<tr>
							<th>相关附件</th>
							<td>
								<ul id="photos" class="pic-list unstyled"></ul>
								<a href="javascript:upload_multi_image('附件上传','#photos','photos-item-wrapper');" class="btn btn-small">选择附件</a>
							</td>
						</tr>
					</table>
				</div>
					</table>
				</div>
			<div class="form-actions">
				<button class="btn btn-primary js-ajax-submit" type="submit">提交</button>
				<a class="btn" href="javascript:history.back(-1);">返回</a>
			</div>
		</form>
	</div>
	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
</body>
</html>